package com.lanchetech.admin.service;

import com.lanchetech.bean.request.PageReq;
import com.lanchetech.bean.response.BargainEditResp;
import com.lanchetech.bean.response.BasePageResp;
import com.lanchetech.bean.response.BaseResp;
import com.lanchetech.bean.response.ResultData;
import com.lanchetech.bean.vo.BargainDetailVO;
import com.lanchetech.bean.vo.BargainEditVO;
import com.lanchetech.bean.vo.BargainRecordVO;
import com.lanchetech.entity.BargainActivity;

public interface BargainService {
    ResultData<BasePageResp<BargainActivity>> getBargainPage(PageReq req);

    ResultData<BargainEditResp> getBargainDetail(Long id);

    BaseResp editBargain(BargainEditVO req);

    ResultData<BasePageResp<BargainRecordVO>> getBargainRecordPage(PageReq req);

    ResultData<BasePageResp<BargainDetailVO>> getBargainDetailPage(PageReq req);

    BaseResp deleteBargain(Long id);
}